/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package agenda.bean;

import java.util.Vector;

/**
 *
 * @author Antonio
 */
public class Tabela {
    private Vector<String> colunas;
    private Vector<Vector<Object>> linhas;

    public Tabela() {
        colunas = new Vector<String>();
        linhas = new Vector<Vector<Object>>();
    }

    public void adicionaColuna(String coluna) {
        colunas.add(coluna);
    }

    public void adicionaLinha(Vector<Object> novaLinha) {
        linhas.add(novaLinha);
    }

    public Vector<String> getColunas() {
        return colunas;
    }

    public Vector<Vector<Object>> getLinhas() {
        return linhas;
    }
}



















